package com.group.neps.entity;

import com.group.common.users.NEPSUser;

import java.io.Serializable;
import java.time.LocalDate;

/** 公众监督员的提交数据
 *
 * @author 刘海翔
 * @version 1.0
 */
public class RowAqiData implements Serializable {
    private final NEPSUser NEPSUser;
    private final LocalDate time;
    private final Location location;
    private final RowAqiLevel rowAqiLevel;
    private final String remark;

    /**
     * 构造函数
     *
     * @param NEPSUser 提交用户
     * @param time 提交时间
     * @param location 提交地点
     * @param rowAqiLevel 提交AQI等级
     * @param remark 提交备注
     */
    public RowAqiData(NEPSUser NEPSUser, LocalDate time, Location location, RowAqiLevel rowAqiLevel, String remark) {
        this.NEPSUser = NEPSUser;
        this.time = time;
        this.location = location;
        this.rowAqiLevel = rowAqiLevel;
        this.remark = remark;
    }

    public NEPSUser getUser() { return NEPSUser; }
    public RowAqiLevel getAqiLevel() {
        return rowAqiLevel;
    }

    public Location getLocation() {
        return location;
    }

    public LocalDate getTime() {
        return time;
    }

    public String getRemark() { return remark; }
}
